Skip to content

Remove org.jetbrains.kotlin.android plugin for AGP 9 built-in Kotlin support#333

Merged
bernardladenthin merged 1 commit into
mainfrom
claude/agp9-builtin-kotlin-fix-q3m8vz
Jul 11, 2026
Merged

Remove org.jetbrains.kotlin.android plugin for AGP 9 built-in Kotlin support#333
bernardladenthin merged 1 commit into
mainfrom
claude/agp9-builtin-kotlin-fix-q3m8vz

Conversation

@bernardladenthin

Copy link
Copy Markdown
Owner

Summary

  • android-llmservice failed to build on CI with: "The 'org.jetbrains.kotlin.android' plugin is no longer required for Kotlin support since AGP 9.0." — a fallout from the AGP 8.7.3 → 9.2.0 bump in Upgrade AGP to 9.2.0 and Gradle to 9.4.1; update dependencies #331.
  • AGP 9.0+ bundles Kotlin support directly (a runtime dependency on Kotlin Gradle plugin 2.2.10+), so applying the standalone org.jetbrains.kotlin.android plugin alongside it is now a hard error.
  • Removes id("org.jetbrains.kotlin.android") from android-llmservice/settings.gradle.kts (pluginManagement.plugins) and android-llmservice/app/build.gradle.kts (plugins {}). org.jetbrains.kotlin.plugin.compose (2.4.0) still applies separately for Compose — its version already exceeds AGP's 2.2.10 floor, so nothing else needed changing.
  • Updates the matching CLAUDE.md note.

Test plan

  • CI green on this branch — specifically build-android-llmservice and test-android-llmservice, the jobs that actually build this Gradle project
  • Could not build-verify locally (no Android SDK in this sandbox); fix is based on the official migration guide (developer.android.com/build/migrate-to-built-in-kotlin)

Related issues / PRs

Follow-up to #331 (AGP 8.7.3 → 9.2.0 bump).

Checklist

  • I have read CONTRIBUTING.md and CODE_OF_CONDUCT.md
  • My commits follow Conventional Commits
  • No security-sensitive changes

https://claude.ai/code/session_015qu2VUdHXRhp6ndxJGkxri


Generated by Claude Code

…support

AGP 9.0+ bundles Kotlin support directly (runtime dependency on Kotlin
Gradle plugin 2.2.10+), so applying org.jetbrains.kotlin.android
alongside it fails the build ("no longer required for Kotlin support
since AGP 9.0"). Removes it from android-llmservice/settings.gradle.kts
and app/build.gradle.kts; the Compose compiler plugin (2.4.0) still
applies separately and its version exceeds AGP's 2.2.10 floor, so no
other change is needed.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015qu2VUdHXRhp6ndxJGkxri
@sonarqubecloud

Copy link
Copy Markdown

@bernardladenthin
bernardladenthin merged commit 6c67016 into main Jul 11, 2026
22 of 55 checks passed
@bernardladenthin
bernardladenthin deleted the claude/agp9-builtin-kotlin-fix-q3m8vz branch July 11, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants